﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace DAL
{
    public static class FreshCmsDataAccessProvider
    {
        private static InPanelDataAccess _InPanel;
        public static InPanelDataAccess InPanel
        {
            get
            {
                if (_InPanel == null)
                {
                    _InPanel = new InPanelDataAccess();
                }
                return _InPanel;
            }
        }
        private static InPmsDataAccess _InPms;
        public static InPmsDataAccess InPms
        {
            get
            {
                if (_InPms == null)
                {
                    _InPms = new InPmsDataAccess();
                }
                return _InPms;
            }
        }
        private static InUserDataAccess _InUser;
        public static InUserDataAccess InUser
        {
            get
            {
                if (_InUser == null)
                {
                    _InUser = new InUserDataAccess();
                }
                return _InUser;
            }
        }
        private static OutBillDataAccess _OutBill;
        public static OutBillDataAccess OutBill
        {
            get
            {
                if (_OutBill == null)
                {
                    _OutBill = new OutBillDataAccess();
                }
                return _OutBill;
            }
        }
        private static OutBillDetailDataAccess _OutBillDetail;
        public static OutBillDetailDataAccess OutBillDetail
        {
            get
            {
                if (_OutBillDetail == null)
                {
                    _OutBillDetail = new OutBillDetailDataAccess();
                }
                return _OutBillDetail;
            }
        }
        private static OutBoxDataAccess _OutBox;
        public static OutBoxDataAccess OutBox
        {
            get
            {
                if (_OutBox == null)
                {
                    _OutBox = new OutBoxDataAccess();
                }
                return _OutBox;
            }
        }
        private static OutContactUDataAccess _OutContactUs;
        public static OutContactUDataAccess OutContactUs
        {
            get
            {
                if (_OutContactUs == null)
                {
                    _OutContactUs = new OutContactUDataAccess();
                }
                return _OutContactUs;
            }
        }
        private static OutCustomerDataAccess _OutCustomer;
        public static OutCustomerDataAccess OutCustomer
        {
            get
            {
                if (_OutCustomer == null)
                {
                    _OutCustomer = new OutCustomerDataAccess();
                }
                return _OutCustomer;
            }
        }
        private static OutGalleryDataAccess _OutGallery;
        public static OutGalleryDataAccess OutGallery
        {
            get
            {
                if (_OutGallery == null)
                {
                    _OutGallery = new OutGalleryDataAccess();
                }
                return _OutGallery;
            }
        }
        private static OutNewDataAccess _OutNew;
        public static OutNewDataAccess OutNew
        {
            get
            {
                if (_OutNew == null)
                {
                    _OutNew = new OutNewDataAccess();
                }
                return _OutNew;
            }
        }
        private static OutProductDataAccess _OutProduct;
        public static OutProductDataAccess OutProduct
        {
            get
            {
                if (_OutProduct == null)
                {
                    _OutProduct = new OutProductDataAccess();
                }
                return _OutProduct;
            }
        }
        private static OutCategoryDataAccess _OutCategory;
        public static OutCategoryDataAccess OutCategory
        {
            get
            {
                if (_OutCategory == null)
                {
                    _OutCategory = new OutCategoryDataAccess();
                }
                return _OutCategory;
            }
        }
        private static InGroupDataAccess _InGroup;
        public static InGroupDataAccess InGroup
        {
            get
            {
                if (_InGroup == null)
                {
                    _InGroup = new InGroupDataAccess();
                }
                return _InGroup;
            }
        }
        private static InLogDataAccess _InLog;
        public static InLogDataAccess InLog
        {
            get
            {
                if (_InLog == null)
                {
                    _InLog = new InLogDataAccess();
                }
                return _InLog;
            }
        }
        private static OutProductListOnDataAccess _OutProductListOn;
        public static OutProductListOnDataAccess OutProductListOn
        {
            get
            {
                if (_OutProductListOn == null)
                {
                    _OutProductListOn = new OutProductListOnDataAccess();
                }
                return _OutProductListOn;
            }
        }
        private static OutNewListOnDataAccess _OutNewListOn;
        public static OutNewListOnDataAccess OutNewListOn
        {
            get
            {
                if (_OutNewListOn == null)
                {
                    _OutNewListOn = new OutNewListOnDataAccess();
                }
                return _OutNewListOn;
            }
        }
        private static BlueBillDataAccess _BlueBill;
        public static BlueBillDataAccess BlueBill
        {
            get
            {
                if (_BlueBill == null)
                {
                    _BlueBill = new BlueBillDataAccess();
                }
                return _BlueBill;
            }
        }
        private static BlueProductDataAccess _BlueProduct;
        public static BlueProductDataAccess BlueProduct
        {
            get
            {
                if (_BlueProduct == null)
                {
                    _BlueProduct = new BlueProductDataAccess();
                }
                return _BlueProduct;
            }
        }
        private static BlueReportDataAccess _BlueReport;
        public static BlueReportDataAccess BlueReport
        {
            get
            {
                if (_BlueReport == null)
                {
                    _BlueReport = new BlueReportDataAccess();
                }
                return _BlueReport;
            }
        }
    }
}
